package cn.wolfcode.wms.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

@Setter@Getter
public class Role extends BaseDomain{

    private String name;

    private String sn;
//  权限的关系:多对多
    private List<Permission> permissions = new ArrayList<Permission>();
    //  多对多
    private List<SystemMenu> systemMenus = new ArrayList<SystemMenu>();
}